{
    var User = /** @class */ (function () {
        function User(a, b) {
            this.name = a;
            this.age = b;
        }
        User.prototype.show = function () {
            return "".concat(this.name, "\u7684\u5E74\u9F84\u662F").concat(this.age);
        };
        return User;
    }());
    // 默认情况下不加也是public,可以在外部访问
    var hd = new User('后盾人', 18);
    hd.name = "hdms";
    console.log(hd.name);
}
